package T6;

import T4.InnerClassDemo4;

interface InterFace1 {
    int num=100;
    void method();
}

class Niming2 {
    public void show() {
        InterFace1 in=()-> System.out.println("num="+InterFace1.num);
        in.method();
    }
}

public class InnerClassDemo6 {

    public static void main(String[] args) {
        Niming2 niming2 = new Niming2();
        niming2.show();

    }

}
